import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { CourseService } from "./course.service";
import { CourseController } from "./course.controller";
import { Course } from "./entities/course.entity";
import { Class } from "../class/entities/class.entity";
import { ClassService } from "../class/class.service";
import { Teacher } from "../teacher/entities/teacher.entity";
import { TeacherService } from "../teacher/teacher.service";

@Module({
  imports: [TypeOrmModule.forFeature([Course, Class, Teacher])],
  controllers: [CourseController],
  providers: [CourseService, ClassService, TeacherService],
})
export class CourseModule {}
